package com.cbg.bus.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.cbg.base.core.SuperEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 车票表
 * </p>
 *
 * @author chenbing
 * @since 2018-12-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_ticket")
@NoArgsConstructor
@AllArgsConstructor
public class Ticket extends SuperEntity<Ticket> {
    private static final long serialVersionUID = 1L;

    /**
     * 出发地
     */
    private String origin;

    /**
     * 目的地
     */
    private String destination;

    /**
     * 发车时间段
     */
    private String goTime;

    /**
     * 乘车人姓名
     */
    private String riderName;

    /**
     * 乘车人电话
     */
    private String riderTel;

    /**
     * 座位编号
     */
    private String seatId;

    /**
     * 乘客上车地址
     */
    private String rideAddress;

    /**
     * 乘客下车地址
     */
    private String debusAddress;
}
